Repository navigation
Conversation
…cket Without a usable sv_password the match connect hook stripped the Steam ticket, which loops the client on reconnect. The client is now let in, the refusal is remembered by the id it claimed, and it is kicked at connect full with the reason (CounterStrikeSharp: spectator, chat and center message, kick after 4 s). Marks are only kept when the engine does not refuse by password and are cleared on map start. The password path is unchanged.
Contributor
|
Closing. On a server with sv_password set the hook passes the engine the same arguments as main, and match pods always launch with one. So the new path only runs on a dedicated server before its first match setup, or on an offline pod before setup. That window isn't worth the new state:
#358 is where a passwordless server is the normal case, so it needs its own look. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A client the match connect hook refuses on a server without a password is let in and kicked with a reason at connect full, instead of getting an empty Steam ticket that loops it on reconnect.
Tested: apps/swiftly/test (1533 passed), apps/counterstrikesharp/test (1301 passed).